import request from '@/utils/request'

// 查询服务团队_团队人员列表
export function listMediationTeamMember(query) {
  return request({
    url: '/team/mediationTeamMember/list',
    method: 'get',
    params: query
  })
}

// 查询服务团队_团队人员列表下拉
export function getMediationTeamMemberOptions(query) {
  return request({
    url: '/team/mediationTeamMember/getMediationTeamMemberOptions',
    method: 'get',
    params: query
  })
}

// 查询服务团队_团队人员详细
export function getMediationTeamMember(id) {
  return request({
    url: '/team/mediationTeamMember/' + id,
    method: 'get'
  })
}

// 保存服务团队_团队人员
export function saveMediationTeamMember(data) {
  return request({
    url: '/team/mediationTeamMember/save',
    method: 'post',
    data: data
  })
}

// 删除服务团队_团队人员
export function delMediationTeamMember(id) {
  return request({
    url: '/team/mediationTeamMember/' + id,
    method: 'delete'
  })
}

// 导出服务团队_团队人员
export function exportMediationTeamMember(query) {
  return request({
    url: '/team/mediationTeamMember/export',
    method: 'get',
    params: query
  })
}
